package org.game.common.Resourse
{
	import flash.display.Loader;
	import flash.events.Event;
	
	import mx.core.Singleton;
	
	/**
	 * 资源加载管理类
	 * @author 缺硒
	 */
	public class Resourse
	{
		private static var __instance:Resourse;
		
		private static var _waitingList:Vector.<GameLoader> = new Vector.<GameLoader>();
		private static var _loadingList:Vector.<GameLoader> = new Vector.<GameLoader>();
		
		public static function getInstance():Resourse
		{
			if(__instance == null) __instance = new Resourse();
			return __instance;
		}
		
		public function Resourse(s:Singleton)
		{
			
		}
		
		public function appendRes(url:String, onCompelet:Function):void
		{
			var loader:Loader = new Loader();
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadOneOK);
			
		}
		
		private function onLoadOneOK(evt:Event):void
		{
			
		}
		//
	}
}
class Singleton{}